import {request} from "./request";

//获取用户创建和收藏的歌单
export function getCreateList(id) {
    return request({
        url: '/user/playlist?uid=' + id
    })
}

//收藏的专辑
export function getCollectAlbum() {
    return request({
        url: '/album/sublist',
    })
}

//收藏的歌手
export function getCollectArtist(){
    return request({
        url: '/artist/sublist'
    })
}

// 收藏视频
export function getCollectMv(){
    return request({
        url: '/mv/sublist'
    })
}


//喜欢的音乐
export function getmylikemusic(uid){
    return request({
        url: '/likelist',
        params:{
            uid:uid,
        }
    })
}
